.random-datepicker {
  vertical-align: middle;

  .button_group .btn_default {
    float: left;
    -webkit-border-radius: 0;
    margin-right: -1px;
    vertical-align: top;
    margin-left: 0;
  }
  a {
    text-decoration: none;
  }
  .selected {
    color: #459ae9;
  }
}

.reportrange {
  background-color: #fff;
  float: right;
  line-height: 32px;
  color: #222;
  text-align: left;
  height: 32px;
  display: block;
  border: solid 1px #e7e7eb;
  font-size: 14px;
  position: relative;
  span {
    display: block;
    cursor: pointer;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    word-break: normal;
    margin-left: 10px;
    margin-right: 30px;
  }
  .caret {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -2.5px;
    display: inline-block;
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: dashed;
    border-color: transparent;
    border-bottom-width: 0;
    border-top-color: #c6c6c6;
    border-top-style: solid;
  }
}

.daterangepicker {
  padding-bottom: 40px;
  margin-top: 5px;
  border: 1px solid #e7e7eb;
  margin-right: -1px;

  .right .table-condensed {
    display: block;
    border-left: solid 1px #eee;
  }
  .ranges {
    .btn {
      //min-width: 104px;
      display: inline-block;
      overflow: visible;
      padding: 0 22px;
      height: 32px;
      line-height: 28px;
      vertical-align: middle;
      text-align: center;
      text-decoration: none;
      border-radius: 3px;
      -moz-border-radius: 3px;
      -webkit-border-radius: 3px;
      font-size: 14px;
      border-width: 1px;
      border-style: solid;
      cursor: pointer;
      background-color: #fff;
      background-image: -moz-linear-gradient(top, #fff 0, #fff 100%);
      background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#fff));
      background-image: -webkit-linear-gradient(top, #fff 0, #fff 100%);
      background-image: -o-linear-gradient(top, #fff 0, #fff 100%);
      background-image: linear-gradient(to bottom, #fff 0, #fff 100%);
      border-color: #e6e7ec;
      color: #222;
      margin-left: 5px;
    }
    .btn-success {
      background-color: #44b549;
      background-image: -moz-linear-gradient(top, #44b549 0, #44b549 100%);
      background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#44b549), to(#44b549));
      background-image: -webkit-linear-gradient(top, #44b549 0, #44b549 100%);
      background-image: -o-linear-gradient(top, #44b549 0, #44b549 100%);
      background-image: linear-gradient(to bottom, #44b549 0, #44b549 100%);
      border-color: #44b549;
      color: #fff;
      cursor: pointer;
      -webkit-appearance: button;
    }

    li {
      font-size: 14px;
      color: #222;
      border: 1px solid #e6e7ec;
      background-color: #fff;
    }
    li.active {
      color: #222;
      background-color: #f4f5f9;
      border: 1px solid #e6e7ec;
    }
    li:hover {
      color: #222;
      background-color: #f4f5f9;
      border: 1px solid #e6e7ec;
    }
  }

  .calendar {
    .daterangepicker_input {
      display: none !important;
    }
    .fa {
      width: 23px;
      height: 23px;
      display: inline-block;
      background: transparent url(../../plugin/daterangepicker/image/range.png) no-repeat 0 0;
    }
    .fa:before {
      content: ''
    }
    .fa:hover {
      background: transparent url(../../plugin/daterangepicker/image/range.png) no-repeat 0 0;
    }
    .glyphicon-chevron-left {
      background-position: 0 0;
    }
    .glyphicon-chevron-left:hover {
      background-position: -46px 0;
    }
    .glyphicon-chevron-right {
      background-position: -23px 0;
    }
    .glyphicon-chevron-right:hover {
      background-position: -69px 0;
    }
    table {
      font-size: 12px;
    }
    table thead tr {
      border-width: 0;
      box-shadow: none;
      -moz-box-shadow: none;
      -webkit-box-shadow: none;
      background-color: #fff;
    }
    table thead th {
      line-height: 20px;
      //padding: 4px 10px;
      color: #444;
      cursor: pointer;
      text-align: center;
    }
    td {
      line-height: 20px;
      padding: 4px 11px;
      text-align: center;
      white-space: nowrap;
      cursor:pointer;
    }
  }
  .ranges{
    margin: 0;
    bottom: 0;
    width: 100%;
    display: block;
    text-align: center;
    position: absolute;
    padding-top: 6px;
    padding-bottom: 10px;
    border-top-color: #e7e7eb;
    background-color: #f4f5f9;
    border-top: 1px solid #e5e5e5
  }
}
